<?php
namespace app\api\controller;

use think\Controller;
use think\Request;

class BisAccount extends Controller
{
    public function checkName(Request $request)
    {
        $username = $request->param('BisAccountName');
        if (model('BisAccount')->get(['username' => $username]))
        {
            return show('0','该用户已存在，请重新分配');
        }
        return show(1,'');
    }
}
